/**
 * Copyright (c) 2012 Tomi Paananen.
 *
 * Part of Quick Gestures user interface.
 */

import QtQuick 1.1
import com.nokia.symbian 1.1
import "CommonUIConstants.js" as Constants

Page {
    Flickable {
        id: flickable
        anchors.fill: parent
        contentWidth: parent.width
        contentHeight: viewHeader.height + aboutText.height + 20

        ViewHeader {
            id: viewHeader
            width: parent.width
            text: "Quick Gestures 1.0"
        }
        Text {
            id: aboutText

            anchors {
                top: viewHeader.bottom
                left: parent.left
                right: parent.right
                margins: 10
            }

            color: platformStyle.colorNormalLight
            font.pixelSize: platformStyle.fontSizeMedium
            textFormat: Text.RichText
            wrapMode: Text.WordWrap
            text: Constants.ABOUT_PAGE_TEXT
        }
    }
    ScrollDecorator {
        flickableItem: flickable
    }

    tools: ToolBarLayout {
        ToolButton {
            iconSource: "toolbar-back"
            onClicked: pageStack.pop();
        }
    }
}
